package org.chen.wordwave.act;

import android.os.Bundle;
import android.util.Log;
import android.webkit.WebView;

import androidx.annotation.Nullable;

import org.chen.wordwave.R;
import org.chen.wordwave.base.BaseActivity;
import org.chen.wordwave.init.WordInit;

public class User extends BaseActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.user);
        String language = WordInit.language;
        Log.e("language",language);
        WebView webview = findViewById(R.id.user);
        if (language.equals("zh")){
            webview.loadUrl(WordInit.zhUser);
        }else {
            webview.loadUrl(WordInit.enUser);
        }
    }

    @Override
    public Integer getLayoutResId() {
        return null;
    }

    @Override
    public void init() {

    }
}
